package com.example.terminalservice.pojo.dto;

import com.example.terminalservice.pojo.Menu;
import com.example.terminalservice.pojo.Role;
import lombok.Data;

import java.util.List;

/**
 * @author 28142
 * @description UserDTO
 * @date 2023/8/4 17:24
 */
@Data
public class UserDTO {
    private Integer id;

    private String username;

    /**
     * 头像
     */
    private String avatar;

    private List<Role> roles;

    private Integer status;

    private String email;

    private String token;

    private List<Menu> menus;

    private List<String> authorityList;
}
